package com.mxw.account;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Description TODO
 * @Author RingKo
 * @Date 2021/8/23 22:05
 * @Version 1.0
 */
@EnableAsync
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.mxw"})
@EnableJpaRepositories(basePackages = "com.mxw.account.mapper")
public class AccountStartUp {
    public static void main(String[] args) {
        SpringApplication.run(AccountStartUp.class, args);
    }
}
